package top.linruchang.domain;

import java.util.Date;

/**
 * @Classname OmsOrder
 * @Description
 * @Date 2020/3/18 12:32
 * @Created by lrc
 */
public class OmsOrder {


    Integer id;
    Integer user_id;
    Integer transactionId;
    short order_status;
    short pay_status;
    Integer total_money;
    Date create_time;
    User user;

    public User getUse() {
        return user;
    }

    public void setUse(User user) {
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(Integer transactionId) {
        this.transactionId = transactionId;
    }

    public short getOrder_status() {
        return order_status;
    }

    public void setOrder_status(short order_status) {
        this.order_status = order_status;
    }

    public short getPay_status() {
        return pay_status;
    }

    public void setPay_status(short pay_status) {
        this.pay_status = pay_status;
    }

    public Integer getTotal_money() {
        return total_money;
    }

    public void setTotal_money(Integer total_money) {
        this.total_money = total_money;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "OmsOrder{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", transactionId=" + transactionId +
                ", order_status=" + order_status +
                ", pay_status=" + pay_status +
                ", total_money=" + total_money +
                ", create_time=" + create_time +
                ", user=" + user +
                '}';
    }
}
